<?php
/**
 * @version		0.2.0 joomla zmluvy $
 * @package		com_zjmluvy
 * @copyright	Copyright © 2011 - All rights reserved.
 * @license		GNU/GPL
 * @author    AdrianKo		
 * @website   http://code.google.com/p/joomla-zmluvy
 *
 *
 *1.3.2012
 */

// no direct access
defined('_JEXEC') or die('Restricted access');
jimport('joomla.html.pane');
?>

<?php  JHTML::_('behavior.tooltip');  ?>

<?php
	JToolBarHelper::title( JText::_( '&nbsp;&nbsp;&nbsp;'.JText::_( 'title_NASTAVENIE' ) ), 'categories.png' );  
  JToolBarHelper::save();
	JToolBarHelper::apply();
	JToolBarHelper::cancel( 'cancel', 'Close' );
	JToolBarHelper::preferences('com_jzmluvy', '500');

  $params	= &JComponentHelper::getParams('com_jzmluvy');
  $editor =& JFactory::getEditor();
  $pane =& JPane::getInstance('tabs', array('startOffset'=>0));
?>

 <fieldset class="adminform">
 <?php echo JText::_('N_GLOBAL_INFO_TEXT') ?>
 </fieldset> 
         
<form action="index.php" method="post" name="adminForm">

<?php
  // panel so zalozkami
  echo $pane->startPane( 'pane' );
  echo $pane->startPanel( JText::_('N_GLOBAL_TITLE'), JText::_('N_GLOBAL_TITLE'));
?>
  <fieldset class="adminform">
					<legend><?php echo JText::_('N_GLOBAL_TITLE') ?></legend>
					<table cellpadding="4" cellspacing="0" border="0" width="100%" class="n-adminform">
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_KONTAKTY') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['kontakty']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_KONTAKTY_I') ?></td>
						</tr>
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_KONTAKTY_LINK') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['kontakty_link']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_KONTAKTY_LINK_I') ?></td>
						</tr>
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_PODPIS') ?></td>
							<td align="left" valign="top" width="25%"><input type="text" size="40" name="podpis" value="<?php echo $this->item->podpis ?>" /></td>
							<td align="left" valign="top"><?php echo JText::_('N_PODPIS_I') ?></td>
						</tr>
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_PODPIS_FUNKCIA') ?></td>
							<td align="left" valign="top" width="25%"><input type="text" size="40" name="podpis_funkcia" value="<?php echo $this->item->podpis_funkcia ?>" /></td>
							<td align="left" valign="top"><?php echo JText::_('N_PODPIS_FUNKCIA_I') ?></td>
						</tr> 
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_DPH') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['dph']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_DPH_I') ?></td>
						</tr>  
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_SUBORY') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['subory']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_SUBORY_I') ?></td>
						</tr>
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_CRZ') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['crz']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_CRZ_I') ?></td>
						</tr>
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_DATUM_FORMAT') ?></td>
							<td align="left" valign="top" width="25%"><input type="text" size="40" name="datum_format" value="<?php echo $this->item->datum_format ?>" /></td>
							<td align="left" valign="top"><?php echo JText::_('N_DATUM_FORMAT_I') ?></td>
						</tr>
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_DEBUG') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['debug']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_DEBUG_I') ?></td>
						</tr>            
					</table>
				</fieldset>

<?php
  echo $pane->endPanel();
  echo $pane->startPanel( JText::_('N_OBJEDNAVKY_TITLE'), JText::_('N_OBJEDNAVKY_TITLE'));
?>       
        <fieldset class="adminform">
					<legend><?php echo JText::_('N_OBJEDNAVKY_TITLE') ?></legend>
					<table cellpadding="4" cellspacing="0" border="0" width="100%" class="n-adminform">
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_OBJ_DAT_PLNENIA') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['obj_dat_plnenia']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_OBJ_DAT_PLNENIA_I') ?></td>
						</tr>
					</table>
				</fieldset> 
<?php
  echo $pane->endPanel();
  echo $pane->startPanel( JText::_('N_FAKTURY_TITLE'), JText::_('N_FAKTURY_TITLE'));
?>           
        <fieldset class="adminform">
					<legend><?php echo JText::_('N_FAKTURY_TITLE') ?></legend>
					<table cellpadding="4" cellspacing="0" border="0" width="100%" class="n-adminform">
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_FAK_INT_CISLO') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['fak_int_cislo']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_FAK_INT_CISLO_I') ?></td>
						</tr>						
            <tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_FAK_DAT_PLATNOSTI') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['fak_dat_platnosti']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_FAK_DAT_PLATNOSTI_I') ?></td>
						</tr>
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_FAK_DAT_UHRADY') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['fak_dat_uhrady']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_FAK_DAT_UHRADY_I') ?></td>
						</tr>
					</table>
				</fieldset>   
<?php
  echo $pane->endPanel();
  echo $pane->startPanel( JText::_('N_ZMLUVY_TITLE'), JText::_('N_ZMLUVY_TITLE'));
?>
        <fieldset class="adminform">
					<legend><?php echo JText::_('N_ZMLUVY_TITLE') ?></legend>
					<table cellpadding="4" cellspacing="0" border="0" width="100%" class="n-adminform">
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_ZML_DAT_PODPISU') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['zml_dat_podpisu']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_ZML_DAT_PODPISU_I') ?></td>
						</tr>
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_ZML_DAT_PLATNOSTI') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['zml_dat_platnosti']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_ZML_DAT_PLATNOSTI_I') ?></td>
						</tr>
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_ZML_DAT_UCINNOSTI') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['zml_dat_ucinnosti']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_ZML_DAT_UCINNOSTI_I') ?></td>
						</tr>
					</table>
				</fieldset>   
<?php
  echo $pane->endPanel();
  echo $pane->startPanel( JText::_('N_PARTNER_TITLE'), JText::_('N_PARTNER_TITLE'));
?>
        <fieldset class="adminform">
					<legend><?php echo JText::_('N_PARTNER_TITLE') ?></legend>
					<table cellpadding="4" cellspacing="0" border="0" width="100%" class="n-adminform">
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_PARTNER_SPIS_ZNACKA') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['partner_spis_znacka']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_PARTNER_SPIS_ZNACKA_I') ?></td>
						</tr>
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_PARTNER_LOGO') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['partner_logo']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_PARTNER_LOGO_I') ?></td>
						</tr>
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_PARTNER_DIC') ?></td>
							<td align="left" valign="top" width="25%"><?php echo $this->lists ['partner_dic']; ?></td>
							<td align="left" valign="top"><?php echo JText::_('N_PARTNER_DIC_I') ?></td>
						</tr>
						<tr align="center" valign="middle">
							<td align="left" valign="top" width="15%"><?php echo JText::_('N_PARTNER_POCET_OBJ') ?></td>
							<td align="left" valign="top" width="25%"><input type="text" size="10" name="partner_pocet_obj" value="<?php echo $this->item->partner_pocet_obj ?>" /></td>
							<td align="left" valign="top"><?php echo JText::_('N_PARTNER_POCET_OBJ_I') ?></td>
						</tr>
					</table>
				</fieldset>        
<?php
 echo $pane->endPanel();
 echo $pane->endPane();
?>
 		<input type="hidden" name="option" value="com_jzmluvy" />
		<input type="hidden" name="view" value="jzmluvy" />
		<input type="hidden" name="controller" value="nastaveni" />
		<input type="hidden" name="task" value="" />
		<?php echo JHTML::_( 'form.token' ); ?>
</form>


